<?php

class CountryController extends Zend_Controller_Action
{
    public function getCountryWithSortAction()
    {
        $sort = $this->getRequest()->getParam('sort');
        $countryModel = new Application_Model_Country();
        $listCountry = $countryModel->getCountrySort($sort);
        
        $this->_helper->layout()->disableLayout();
        $this->view->listCountry = $listCountry;
        $this->render('country-list');
    }
}
